/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GUI.MAINMENU;

import java.awt.Color;
import java.awt.Image;

/**
 *
 * @author wonka
 */
public class MenuTruthBill extends org.jdesktop.swingx.JXPanel {
    /**
     * Creates new form Home
     */
    public MenuTruthBill() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jXLabel1 = new org.jdesktop.swingx.JXLabel();
        jXPanel5 = new org.jdesktop.swingx.JXPanel();
        lb_FindBill = new org.jdesktop.swingx.JXLabel();
        lb_AddBill = new org.jdesktop.swingx.JXLabel();
        lb_SellBill = new org.jdesktop.swingx.JXLabel();
        lb_TransferBill = new org.jdesktop.swingx.JXLabel();
        jXLabel10 = new org.jdesktop.swingx.JXLabel();
        lb_BuyBill = new org.jdesktop.swingx.JXLabel();

        setBackground(new java.awt.Color(255, 233, 208));
        setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        setAutoscrolls(true);
        setScrollableHeightHint(org.jdesktop.swingx.ScrollableSizeHint.FIT);
        setScrollableWidthHint(org.jdesktop.swingx.ScrollableSizeHint.FIT);

        jXLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Medium_Bills.png"))); // NOI18N
        jXLabel1.setText("TÍN PHIẾU");
        jXLabel1.setFont(new java.awt.Font("Segoe UI Semibold", 3, 36)); // NOI18N

        jXPanel5.setBackground(new java.awt.Color(255, 233, 208));
        jXPanel5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jXPanel5.setMinimumSize(new java.awt.Dimension(686, 470));
        jXPanel5.setPreferredSize(new java.awt.Dimension(300, 250));
        jXPanel5.setScrollableHeightHint(org.jdesktop.swingx.ScrollableSizeHint.FIT);
        jXPanel5.setScrollableWidthHint(org.jdesktop.swingx.ScrollableSizeHint.FIT);
        jXPanel5.setLayout(new java.awt.GridBagLayout());

        lb_FindBill.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lb_FindBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_FindBills.png"))); // NOI18N
        lb_FindBill.setText("Tra Cứu Tín Phiếu");
        lb_FindBill.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        lb_FindBill.setEnabled(false);
        lb_FindBill.setFont(new java.awt.Font("Segoe UI Semilight", 1, 14)); // NOI18N
        lb_FindBill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lb_FindBill.setIconTextGap(6);
        lb_FindBill.setTextAlignment(org.jdesktop.swingx.JXLabel.TextAlignment.CENTER);
        lb_FindBill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        lb_FindBill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lb_FindBillMouseExited(evt);
            }
        });
        lb_FindBill.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lb_FindBillMouseMoved(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridheight = 2;
        gridBagConstraints.ipady = 8;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(12, 12, 0, 0);
        jXPanel5.add(lb_FindBill, gridBagConstraints);

        lb_AddBill.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lb_AddBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_AddBills.png"))); // NOI18N
        lb_AddBill.setText("Mở Tài Khoản Tín Phiếu");
        lb_AddBill.setToolTipText("");
        lb_AddBill.setVerticalAlignment(javax.swing.SwingConstants.TOP);
        lb_AddBill.setEnabled(false);
        lb_AddBill.setFont(new java.awt.Font("Segoe UI Semilight", 1, 14)); // NOI18N
        lb_AddBill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lb_AddBill.setIconTextGap(6);
        lb_AddBill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        lb_AddBill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lb_AddBillMouseExited(evt);
            }
        });
        lb_AddBill.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lb_AddBillMouseMoved(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.ipadx = 10;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(12, 85, 0, 0);
        jXPanel5.add(lb_AddBill, gridBagConstraints);

        lb_SellBill.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lb_SellBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_SellBill.png"))); // NOI18N
        lb_SellBill.setText("Lập Phiếu Bán");
        lb_SellBill.setToolTipText("");
        lb_SellBill.setEnabled(false);
        lb_SellBill.setFont(new java.awt.Font("Segoe UI Semilight", 1, 14)); // NOI18N
        lb_SellBill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lb_SellBill.setIconTextGap(6);
        lb_SellBill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        lb_SellBill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lb_SellBillMouseExited(evt);
            }
        });
        lb_SellBill.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lb_SellBillMouseMoved(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 5;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 8;
        gridBagConstraints.ipadx = 27;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(32, 18, 12, 0);
        jXPanel5.add(lb_SellBill, gridBagConstraints);

        lb_TransferBill.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        lb_TransferBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_TransferBill.png"))); // NOI18N
        lb_TransferBill.setText("Lập Phiếu Chuyển Nhượng");
        lb_TransferBill.setToolTipText("");
        lb_TransferBill.setEnabled(false);
        lb_TransferBill.setFont(new java.awt.Font("Segoe UI Semilight", 1, 14)); // NOI18N
        lb_TransferBill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lb_TransferBill.setIconTextGap(6);
        lb_TransferBill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        lb_TransferBill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lb_TransferBillMouseExited(evt);
            }
        });
        lb_TransferBill.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lb_TransferBillMouseMoved(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 4;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridwidth = 2;
        gridBagConstraints.gridheight = 7;
        gridBagConstraints.ipadx = 9;
        gridBagConstraints.ipady = 9;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(18, 34, 0, 21);
        jXPanel5.add(lb_TransferBill, gridBagConstraints);

        jXLabel10.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jXLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_Bills.png"))); // NOI18N
        jXLabel10.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.gridheight = 3;
        gridBagConstraints.ipady = 14;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(131, 18, 0, 0);
        jXPanel5.add(jXLabel10, gridBagConstraints);

        lb_BuyBill.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lb_BuyBill.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Image/Big_BuyBill.png"))); // NOI18N
        lb_BuyBill.setText("Lập Phiếu Mua");
        lb_BuyBill.setToolTipText("");
        lb_BuyBill.setEnabled(false);
        lb_BuyBill.setFont(new java.awt.Font("Segoe UI Semilight", 1, 14)); // NOI18N
        lb_BuyBill.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        lb_BuyBill.setIconTextGap(6);
        lb_BuyBill.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        lb_BuyBill.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseExited(java.awt.event.MouseEvent evt) {
                lb_BuyBillMouseExited(evt);
            }
        });
        lb_BuyBill.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseMoved(java.awt.event.MouseEvent evt) {
                lb_BuyBillMouseMoved(evt);
            }
        });
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 2;
        gridBagConstraints.gridheight = 4;
        gridBagConstraints.ipadx = 27;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(24, 19, 0, 0);
        jXPanel5.add(lb_BuyBill, gridBagConstraints);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addComponent(jXLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 302, Short.MAX_VALUE)
                .addGap(394, 394, 394))
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jXPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, 686, Short.MAX_VALUE)
                .addGap(23, 23, 23))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jXLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jXPanel5, javax.swing.GroupLayout.DEFAULT_SIZE, 471, Short.MAX_VALUE)
                .addGap(27, 27, 27))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void lb_AddBillMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_AddBillMouseMoved
        // TODO add your handling code here:
        lb_AddBill.setEnabled(true);
    }//GEN-LAST:event_lb_AddBillMouseMoved

    private void lb_AddBillMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_AddBillMouseExited
        // TODO add your handling code here:
        lb_AddBill.setEnabled(false);
    }//GEN-LAST:event_lb_AddBillMouseExited

    private void lb_FindBillMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_FindBillMouseMoved
        // TODO add your handling code here:
          lb_FindBill.setEnabled(true);
    }//GEN-LAST:event_lb_FindBillMouseMoved

    private void lb_FindBillMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_FindBillMouseExited
        // TODO add your handling code here:
          lb_FindBill.setEnabled(false);
    }//GEN-LAST:event_lb_FindBillMouseExited

    private void lb_SellBillMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_SellBillMouseMoved
        // TODO add your handling code here:
          lb_SellBill.setEnabled(true);
    }//GEN-LAST:event_lb_SellBillMouseMoved

    private void lb_SellBillMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_SellBillMouseExited
        // TODO add your handling code here:
          lb_SellBill.setEnabled(false);
    }//GEN-LAST:event_lb_SellBillMouseExited

    private void lb_TransferBillMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_TransferBillMouseMoved
        // TODO add your handling code here:
         lb_TransferBill.setEnabled(true);
    }//GEN-LAST:event_lb_TransferBillMouseMoved

    private void lb_TransferBillMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_TransferBillMouseExited
        // TODO add your handling code here:
          lb_TransferBill.setEnabled(false);
    }//GEN-LAST:event_lb_TransferBillMouseExited

    private void lb_BuyBillMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_BuyBillMouseExited
        // TODO add your handling code here:
    }//GEN-LAST:event_lb_BuyBillMouseExited

    private void lb_BuyBillMouseMoved(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lb_BuyBillMouseMoved
        // TODO add your handling code here:
    }//GEN-LAST:event_lb_BuyBillMouseMoved

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private org.jdesktop.swingx.JXLabel jXLabel1;
    private org.jdesktop.swingx.JXLabel jXLabel10;
    private org.jdesktop.swingx.JXPanel jXPanel5;
    private org.jdesktop.swingx.JXLabel lb_AddBill;
    private org.jdesktop.swingx.JXLabel lb_BuyBill;
    private org.jdesktop.swingx.JXLabel lb_FindBill;
    private org.jdesktop.swingx.JXLabel lb_SellBill;
    private org.jdesktop.swingx.JXLabel lb_TransferBill;
    // End of variables declaration//GEN-END:variables
}
